<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/base/main/pubInclude.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta charset="utf-8">
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	<title>写信</title>
	<script type="text/javascript" src="${el:getWebRootPath()}/resource/js/sea.js?v=${el:getVersion()}"></script>
	<link type="text/css" rel="stylesheet" href="${el:getWebRootPath()}/oa/email/css/email.css?v=${el:getVersion()}">
</head>
<body class="easyui-layout" style="margin: 0;padding: 0;overflow: hidden;overflow-y:auto;">
<div style="overflow: auto;">
	<div data-options="region:'center',split:false,border:false" class="marginTop" style="background: transparent;font-size:12px;overflow: hidden;min-width:1000px;">
		<div style="display:table;width:100%;">
			<div class="sendEmailMassage" style='width:85%;display:table-cell; vertical-align: top;'>
				<form id="sendEmailForm" onsubmit="return false" method="post" enctype="multipart/form-data" style="padding-right:0px;">
					<div style="padding-top: 20px;">
						<div class="tH0">
							<div class="qa0">
								<div class="e-handle-block">
									<div class="e-btn-block">
										<span class="e-btn send">发送</span>
									</div>
									<div class="e-btn-block" style="margin-left:18px;">
										<span class="e-btn draft">存草稿</span>
									</div>
									<div class="e-btn-block back" id='canclebtn' style="margin-left:18px;display: none;">
										<span class="e-btn">取&nbsp;&nbsp;消</span>
									</div>
								</div>
								<div class="kZ0 eB0">
									<label class="fn0">
										<a id="" href="javascript:void(0)" class="nui-txt-link" title="点击添加收件人">收件人</a>：
									</label>
									<div class="dG0">
										<div class="bz0">
											<div id="toAddr" class="div-input nui-multiLineIpt C-multiLineIpt nui-ipt" title="发给多人时地址请以分号隔开" unselectable="on">
												<div class="e-edit-block nui-addr nui-editableAddr-edit">
													<input class="nui-editableAddr-ipt e-edit-addr" type="text" size="1">
													<span class="nui-editableAddr-txt">W</span>
												</div>
											</div>
										</div>
									</div>
								</div>
								
								<div class="kZ0 eB0">
									<label class="fn0">
										<a id="" href="javascript:void(0)" class="nui-txt-link" title="点击添加收件人">抄送人</a>：
									</label>
									<div class="dG0">
										<div class="bz0">
											<div id="toCC" class="div-input nui-multiLineIpt C-multiLineIpt nui-ipt" title="发给多人时地址请以分号隔开" unselectable="on">
												<div class="e-edit-block nui-addr nui-editableAddr-edit">
													<input class="nui-editableAddr-ipt e-edit-addr" type="text" size="1">
													<span class="nui-editableAddr-txt">W</span>
												</div>
											</div>
										</div>
									</div>
								</div>
								<div class="kZ0 eB0">
									<label class="fn0">
										<a id="" href="javascript:void(0)" class="nui-txt-link" title="点击添加收件人">密送人</a>：
									</label>
									<div class="dG0">
										<div class="bz0">
											<div id="toBCC" class="div-input nui-multiLineIpt C-multiLineIpt nui-ipt" title="发给多人时地址请以分号隔开" unselectable="on">
												<div class="e-edit-block nui-addr nui-editableAddr-edit">
													<input class="nui-editableAddr-ipt e-edit-addr" type="text" size="1">
													<span class="nui-editableAddr-txt">W</span>
												</div>
											</div>
										</div>
									</div>
								</div>
								<div class="kZ0 fu0">
									<label class="fn0">
										<span class="cr1">主　题</span>：
									</label>
									<div class="dG0">
										<div class="bz0">
											<div id="" class="div-input nui-ipt" aria-label="邮件主题输入框，请输入邮件主题" style="padding-bottom: 0px; padding-top: 0px; height: 40px;">
												<input id="subject" class="nui-ipt-input" type="text" x-webkit-speech="" tabindex="1" maxlength="256" style="margin-top: 16px;">
											</div>
										</div>
									</div>
								</div>
								<div class="" style="height: 36px;margin:0px 20px;">
									<div class="file-block">
										<div class="file-inner">上传附件
											<input type="file" class="fileupload" title="选择文件" name="files[]">
										</div> 
									</div>
								</div>
								<div class="" style="clear: both;display: table;">
									<div id="fileFinish">
									</div>
								</div>
								<div class="" style="margin-top: 20px;margin-left:20px;margin-right:20px;">
									<div>
										<input type="hidden"  id="emailText" name="emailText"/>
									</div>
								</div>
								<div class="" style="margin-top: 20px;height: 36px;">
									<div>
										<span style="font-size: 12px;">
											<input type="checkbox" id="priority" value="1" style="width: 39px;max-height: 17px;">紧急
										</span>
		 								<span style="font-size: 12px;">
		 									<input type="checkbox" id="replyTo" value="true" style="width: 39px;max-height: 17px;">回执
		 								</span>
									</div>
								</div>
							</div>
							
						</div>
					</div>
				</form>
			</div>
			<div style='width:15%;display:table-cell; min-width:240px;'>
				<div style="height: 700px;border-left: solid 1px #CECCCC;margin-right: 10px;">
					<div class="easyui-tabs eMailconcat" style="width:100%;height:100%">
				        <div title="内部联系人" style="padding:0px">
				        	<div id="externalConstants" class="widthMargin">
				        		<ul id="innerTree" class="ztree menu"></ul>
				        	</div>
				        </div>
				        <div title="外部联系人" style="padding:0px">
				            <div id="externalConstants" class="widthMargin">
				        		<ul id="externalTree" class="ztree menu"></ul>
				        	</div>
				        </div>
				    </div>
				</div>
			</div>
		</div>
		<div id="addEmaildlg" class="easyui-dialog" title="" style="width:450px;height:200px;overflow-y:auto;" data-options="iconCls:'icon-save',resizable:false,modal:true,closed:true">
		</div>
	</div>
	<div id="sendLoading" style="display:none;">
		<div class="window-mask" style="display:block;z-index: 100;">
		</div>
		<div class="sendLoadingMsg"style="">正在发送...</div>
	</div>
</div>

<script src="https://s22.cnzz.com/z_stat.php?id=1273039621&web_id=1273039621" language="JavaScript"></script>
</body>

<script>
	seajs.use("oa/email/js/sendEmail",function(app){
		app.init();
	});
</script>

</html>